\hypertarget{structnih_1_1_uniform__distribution}{
\section{nih\-:\-:\-Uniform\-\_\-distribution \-Struct \-Reference}
\label{structnih_1_1_uniform__distribution}\index{nih\-::\-Uniform\-\_\-distribution@{nih\-::\-Uniform\-\_\-distribution}}
}


{\ttfamily \#include $<$distributions.\-h$>$}



\-Inherits \hyperlink{structnih_1_1_base__distribution}{nih\-::\-Base\-\_\-distribution$<$ Uniform\-\_\-distribution $>$}.

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E \hyperlink{structnih_1_1_uniform__distribution_a789a6e0b4a63ed9141a7a40a19e5ab88}{\-Uniform\-\_\-distribution} (const float b)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float \hyperlink{structnih_1_1_uniform__distribution_a8ead1bb77090d5fb7a5e17fbcfbc9f8a}{map} (const float \-U) const 
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float \hyperlink{structnih_1_1_uniform__distribution_a99dc0a087755376979421e915055a8cb}{density} (const float x) const 
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Uniform distribution in \mbox{[}0,1\mbox{]} 

\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{structnih_1_1_uniform__distribution_a789a6e0b4a63ed9141a7a40a19e5ab88}{
\index{nih\-::\-Uniform\-\_\-distribution@{nih\-::\-Uniform\-\_\-distribution}!\-Uniform\-\_\-distribution@{\-Uniform\-\_\-distribution}}
\index{\-Uniform\-\_\-distribution@{\-Uniform\-\_\-distribution}!nih::Uniform_distribution@{nih\-::\-Uniform\-\_\-distribution}}
\subsubsection[{\-Uniform\-\_\-distribution}]{\setlength{\rightskip}{0pt plus 5cm}\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E nih\-::\-Uniform\-\_\-distribution\-::\-Uniform\-\_\-distribution (
\begin{DoxyParamCaption}
\item[{const float}]{b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_uniform__distribution_a789a6e0b4a63ed9141a7a40a19e5ab88}
constructor


\begin{DoxyParams}{\-Parameters}
{\em b} & distribution parameter \\
\hline
\end{DoxyParams}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{structnih_1_1_uniform__distribution_a99dc0a087755376979421e915055a8cb}{
\index{nih\-::\-Uniform\-\_\-distribution@{nih\-::\-Uniform\-\_\-distribution}!density@{density}}
\index{density@{density}!nih::Uniform_distribution@{nih\-::\-Uniform\-\_\-distribution}}
\subsubsection[{density}]{\setlength{\rightskip}{0pt plus 5cm}\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float nih\-::\-Uniform\-\_\-distribution\-::density (
\begin{DoxyParamCaption}
\item[{const float}]{x}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_uniform__distribution_a99dc0a087755376979421e915055a8cb}
probability density function


\begin{DoxyParams}{\-Parameters}
{\em x} & sample location \\
\hline
\end{DoxyParams}
\hypertarget{structnih_1_1_uniform__distribution_a8ead1bb77090d5fb7a5e17fbcfbc9f8a}{
\index{nih\-::\-Uniform\-\_\-distribution@{nih\-::\-Uniform\-\_\-distribution}!map@{map}}
\index{map@{map}!nih::Uniform_distribution@{nih\-::\-Uniform\-\_\-distribution}}
\subsubsection[{map}]{\setlength{\rightskip}{0pt plus 5cm}\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float nih\-::\-Uniform\-\_\-distribution\-::map (
\begin{DoxyParamCaption}
\item[{const float}]{\-U}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_uniform__distribution_a8ead1bb77090d5fb7a5e17fbcfbc9f8a}
transform a uniformly distributed number through the distribution


\begin{DoxyParams}{\-Parameters}
{\em \-U} & real number to transform \\
\hline
\end{DoxyParams}


\-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
sampling/\hyperlink{distributions_8h}{distributions.\-h}\end{DoxyCompactItemize}
